package com.example.xungeng2.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.xungeng2.mapper.FXMapper;
import com.example.xungeng2.pojo.Fx;
import com.example.xungeng2.service.FXService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FXServiceImpl extends ServiceImpl<FXMapper, Fx> implements FXService {

    @Autowired
    private FXMapper fxMapper;
    @Override
    public List<Fx> selectAllFx() {
        List<Fx> list = baseMapper.selectList(null);
        return list;
    }
}
